package com.naizhuai.ui.entity.mainbusiness;

import com.google.gson.annotations.SerializedName;
import com.naizhuai.ui.entity.CommonLabel;
import com.naizhuai.ui.entity.LabelsConvertBean;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

/**
 * 修改的改前改后的图片的bean（action的details的基本结构）
 * Created by code_han on 2018/3/30.
 */

public class ActionEditContractActivityBean implements Serializable {
    //方案的id
    private String schemeId;
    //解决描述
    private String schemeName;
    //负责人名字
    private String username;
    //负责人头像
    private String thumb;

    private String questionId;

    //问题
    private String questionTitle;

    //分析详情
    private List<String> thinkingDetail;

    @SerializedName("compareImages")
    private List<CompareImageBean> compareImage;
    //对比数据结构体
    private List<ActionCompareDataBean> selectedCompareData;

    //过程图片
    private List<String> processImages;

    //过程描述
    private List<String> processDetail;

    //心得
    private String review;

    //查看人数
    private String viewCount;

    //喜欢人数
    private String likeCount;

    //点赞的状态
    private String hadThumbsUp;

    //借鉴人数
    private String usedCount;

    //行为评分
    private String score;

    //行为描述
    private String questionDetail;

    //对比数据结构提游标集合
    private List<LabelsConvertBean> compareDataList;

    //对比数据结构的设备集合
    @SerializedName("companyMachine")
    private List<EquipmentChosen> equipmentsList;

    //行为的行动值得分
    private String actionScore;

    //已选标签的集合
    @SerializedName("labels")
    private List<CommonLabel> chosenLabels;
    //故有选择标签的id以及标签种类的集合
    private List<CommonLabel> initLabelModule;


    public ActionEditContractActivityBean() {
    }

    public String getHadThumbsUp() {
        return hadThumbsUp;
    }

    public void setHadThumbsUp(String hadThumbsUp) {
        this.hadThumbsUp = hadThumbsUp;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public List<CommonLabel> getChosenLabels() {
        return chosenLabels;
    }

    public void setChosenLabels(List<CommonLabel> chosenLabels) {
        this.chosenLabels = chosenLabels;
    }

    public List<CommonLabel> getInitLabelModule() {
        return initLabelModule;
    }

    public void setInitLabelModule(List<CommonLabel> initLabelModule) {
        this.initLabelModule = initLabelModule;
    }

    public String getActionScore() {
        return actionScore;
    }

    public void setActionScore(String actionScore) {
        this.actionScore = actionScore;
    }

    public String getSchemeName() {
        return schemeName;
    }

    public void setSchemeName(String schemeName) {
        this.schemeName = schemeName;
    }

    public List<LabelsConvertBean> getCompareDataList() {
        return compareDataList;
    }

    public void setCompareDataList(List<LabelsConvertBean> compareDataList) {
        this.compareDataList = compareDataList;
    }

    public String getReview() {
        return review;
    }

    public void setReview(String review) {
        this.review = review;
    }

    public List<CompareImageBean> getCompareImage() {
        return compareImage;
    }

    public void setCompareImage(List<CompareImageBean> compareImage) {
        this.compareImage = compareImage;
    }

    public String getSchemeId() {
        return schemeId;
    }

    public void setSchemeId(String schemeId) {
        this.schemeId = schemeId;
    }

    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }

    public List<ActionCompareDataBean> getSelectedCompareData() {
        return selectedCompareData;
    }

    public void setSelectedCompareData(List<ActionCompareDataBean> selectedCompareData) {
        this.selectedCompareData = selectedCompareData;
    }

    public List<String> getProcessImages() {
        return processImages;
    }

    public void setProcessImages(List<String> processImages) {
        this.processImages = processImages;
    }

    public List<String> getThinkingDetail() {
        return thinkingDetail;
    }

    public void setThinkingDetail(List<String> thinkingDetail) {
        this.thinkingDetail = thinkingDetail;
    }

    public List<String> getProcessDetail() {
        return processDetail;
    }

    public void setProcessDetail(List<String> processDetail) {
        this.processDetail = processDetail;
    }

    public String getQuestionTitle() {
        return questionTitle;
    }

    public void setQuestionTitle(String questionTitle) {
        this.questionTitle = questionTitle;
    }

    public String getViewCount() {
        return viewCount;
    }

    public void setViewCount(String viewCount) {
        this.viewCount = viewCount;
    }

    public String getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(String likeCount) {
        this.likeCount = likeCount;
    }

    public String getUsedCount() {
        return usedCount;
    }

    public void setUsedCount(String usedCount) {
        this.usedCount = usedCount;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getQuestionDetail() {
        return questionDetail;
    }

    public void setQuestionDetail(String questionDetail) {
        this.questionDetail = questionDetail;
    }


    public List<EquipmentChosen> getEquipmentsList() {
        return equipmentsList;
    }

    public void setEquipmentsList(List<EquipmentChosen> equipmentsList) {
        this.equipmentsList = equipmentsList;
    }

    public static class EquipmentChosen implements Serializable {

        @SerializedName("machineKey")
        private String equipKey;
        @SerializedName("machineName")
        private String equipValue;

        public EquipmentChosen() {
        }

        public String getEquipKey() {
            return equipKey;
        }

        public void setEquipKey(String equipKey) {
            this.equipKey = equipKey;
        }

        public String getEquipValue() {
            return equipValue;
        }

        public void setEquipValue(String equipValue) {
            this.equipValue = equipValue;
        }

        @Override
        public String toString() {
            return equipValue;
        }
    }

    @Override
    public String toString() {
        return "compareImage=" + Arrays.toString(compareImage.toArray()) + ";compareData" + selectedCompareData.toString();
    }
}
